The Select method changes the selection of items in the graphic window and brings the window to the front.
; Create two plot lines in the same graphics window
p1 = PLOT(/TEST)
p2 = PLOT(randomu(seed,150), /OVERPLOT)
; Select the first plot
p1.Select
; Create two different graphics windows
p = PLOT(/TEST)
c = CONTOUR(/TEST)
; Bring the plot to the front
p.window.Select
graphic.Select [, /ADD] [, /ALL] [, /CLEAR] [, /TOGGLE] [, /UNSELECT]
None
Set this keyword to 1 to add the graphic to the current set of selections. The default behavior is to replace the current selection set with the selected item.
Set this keyword to 1 to select everything within the graphic window.
Set this keyword to 1 to unselect all of the currently selected items.
Set this keyword to 1 to toggle the selection state of the graphic - if the graphic was not selected then it will become selected, and vice versa.
Set this keyword to 1 to unselect the graphic, leaving the rest of the selections unchanged.
8.0 |
Introduced |
GetSelect Method, GETWINDOWS, Order Method, Using IDL Graphics